print("Besti-2目计算器！你值得拥有!")
flag = True
#=============循环开始===========
while(flag == True):
    op = input("请输入需要做的操作（+、-、*、/、//、0(运算结束）:）")  # //求商
    a = int(input("请输入操作数1："))
    b = int(input("请输入操作数2："))
    result = 0
    if op == "+":
        result = a + b
    elif op == "-":
        result = a - b
    elif op == "*":
        result = a * b
    elif op == "/":
        result = a / b
    elif op == "0":
        flag = False
    else:
        print("输入有误，请重新输入！")
        continue
    print("结果为：" + "a" + op + 'b=', result)
#=============循环结束===========
